package cn.web.auction.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.web.auction.mapper.PartnerMapper;
import cn.web.auction.pojo.Partner;
import cn.web.auction.service.PartnerService;

@Service
public class PartnerServiceImpl implements PartnerService {
	@Autowired
	private PartnerMapper partnerMapper;

	@Override
	public List<Partner> findPartner() {
		List<Partner> list = partnerMapper.selectByExample(null);
		return list;
	}

	@Override
	public void updatePartner(Partner partner) {
		partnerMapper.updateByPrimaryKey(partner);
		
		
	}


}
